home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Games Machine 75
/
XENIATGM75.iso
/
Shareware
/
X-Setup 5.0
/
_SETUP.1
/
XQ Logoff Options 1.xpl
< prev
next >
Wrap
Text File
|
1999-06-12
|
1KB
|
56 lines
"FILE"="Xteq Systems X-Setup Plugin 5.0"
"TYPE"="6"
"COUNT"="1"
"UIPATH"="Network\Logoff"
"NAME"="Windows 9x Logoff Options"
"VERSION"="1.1"
"LANGUAGE"="VBScript"
"TEXT 1"="Show "Restart in MS-DOS mode" in logoff menu"
"DESCRIPTION 1"="If you want to hide the selection to restart in MS-DOS mode, deactivate the first option."
"DESCRIPTION 2"="This setting only applies to Windows 95/98 computers."
"AUTHOR"="Xteq Systems"
"COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
"COMMENT 1"="For more information, go to http://www.xteq.com or write to TeXHeX@xteq.com."
sNRM="HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\WinOldApp\NoRealMode" 'DWORD
Sub Plugin_Initialize
If GetWinVer=1 or GetWinVer=3 then
i=RegReadValue(sNRM)
if i=0 or IsEmpty(i) then
SetUIElement 1,true
end if
else
Disable
end if
End Sub
Sub Plugin_CheckData(ElementIndex)
End Sub
Sub Plugin_Apply(ElementIndex,ElementSubIndex)
b=GetUIElement(1)
if b=true then
Call RegWriteValue(sNRM,0,2)
else
Call RegWriteValue(sNRM,1,2)
end if
Restart
End Sub
Sub Plugin_Terminate
End Sub